package top.yxqz.user;

/**
 * @author Mr.余
 * @date 2022/11/16
 * @package top.yxqz.user
 * 学生实体类
 */

public class Student {
    private  int id;
    private  String userName;
    private  String password;
    private  String token;
    private  String vcode;

    public String getVcode() {
        return vcode;
    }

//    注入
    public void setVcode(String vcode) {
        this.vcode = vcode;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", userName='" + userName + '\'' +
                ", password='" + password + '\'' +
                ", token='" + token + '\'' +
                '}';
    }

    public Student() {
    }

    public Student(int id, String userName, String password, String token) {
        this.id = id;
        this.userName = userName;
        this.password = password;
        this.token = token;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }
}
